Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Emile Fezresatherflar 11.Mar.03 04:03 AM a Web browser
General 6.0.1 Windows 2000


I have one form that when I attempt to submit an edit on the web I get "Submit is not a function" in Netscape and "Object doesn't support this property or method" from IE.

I have several other forms that work fine in this database.

Here is the code from the page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Photo</title><link rel="stylesheet" type="text/css" href="/cbordeleau/domGal.nsf/css/embedded_style.css.default">
<link rel="stylesheet" type="text/css" href="/cbordeleau/domGal.nsf/css/standalone_style.css.default">

<script language="JavaScript" type="text/javascript">
<!--
document._domino_target = "_self";
function _doClick(v, o, t, h) {
var form = document._Photo;
if (form.onsubmit) {
var retVal = form.onsubmit();
if (typeof retVal == "boolean" && retVal == false)
return false;
}
var target = document._domino_target;
if (o.href != null) {
if (o.target != null)
target = o.target;
} else {
if (t != null)
target = t;
}
form.target = target;
form.__Click.value = v;
if (h != null)
form.action += h;
form.submit();
return false;
}
// -->
</script>
</head>
<body text="#000000" bgcolor="#FFFFFF">

<form method="post" action="/cbordeleau/domGal.nsf/photo_edit/030850439013?EditDocument&amp;Seq=1&amp;action=caption" name="_Photo">
<input type="hidden" name="__Click" value="0">
<input type="hidden" name="%%ModDate" value="85256CE60011C0B5"><br>
<font face="Arial"> </font><script language="JavaScript" type="text/javascript">
var js_top_albums = '5';
var js_Gallery_Name = 'Beth n Chris‘s Web Gallery';
var js_Gallery_Page_Num = '6';
var js_Gallery_Pages = '1';
var js_Album_Images_Accross = '4';

</SCRIPT><font face="Verdana"> </font><div align="center"><br>
Enter a caption for this picture in the text box below.<br><br>
<p><img src="/cbordeleau/domGal.nsf/photos/FDF5FC87F58C4E7285256CE5004C1834/$file/TNXX_AUT_2162.jpg?openelement" ALT=Photo><br><br><br>
<p>
<input name="Title" value="Photo"><br>
<font face="Verdana">Enter &quot;keywords&quot; for this photo in the text box below.</font><br>

<input name="Keywords" value=""><br>
<font face="Verdana">Photo Capture Date</font><br>

<input name="Capture_date" value=""><br>

<input type="button" onclick="submit();" value="Submit">
<input type="button" onclick="parent.close()" value="Cancel" name="submit"><br>
</div><br>

<input name="HTTP_Referer" type="hidden" value="">
<input name="HTTP_User_Agent" type="hidden" value="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0">
<input name="Query_String_Decoded" type="hidden" value="editdocument&amp;action=caption">
<input name="Server_Name" type="hidden" value="Server.edu">
<input name="Remote_Host" type="hidden" value="">
<input name="Remote_Addr" type="hidden" value="XX.XX.XX.XX">
<input name="$V2AttachmentOptions" type="hidden" value="0">
<input name="DBPath" type="hidden" value="cbordeleau/domGal.nsf">
<input name="ArgNames" type="hidden" value="action">
<input name="ArgValues" type="hidden" value="caption">
<input name="Query" type="hidden" value="">

<input name="isAdmin" type="hidden" value="0">
<input name="Registered" type="hidden" value="1">
<input name="profile" type="hidden" value="Beth n Chris's Web Gallery, 6, 4, TNXX_, NXX_">
<input name="top_albums" type="hidden" value="5">
<input name="Gallery_Name" type="hidden" value="Beth n Chris's Web Gallery">
<input name="Gallery_Page_Num" type="hidden" value="6">
<input name="Gallery_Pages" type="hidden" value="1">
<input name="Album_Images_Accross" type="hidden" value="4">
<input name="Gallery_Thumb_Pre" type="hidden" value="TNXX_">
<input name="Gallery_Normal_Pre" type="hidden" value="NXX_">
<input name="index" type="hidden" value="2">
<input name="subindex" type="hidden" value="0">
<input name="photoid" type="hidden" value="030850439013">
<input name="File" type="hidden" value="AUT_2162.jpg">
<input name="album" type="hidden" value="2.0">
<input name="Photo_Action" type="hidden" value="caption">
<input name="photoindex" type="hidden" value=""></form>

</body>
</html>

I have compared this code to other forms that work fine and I can not see what the difference is.

I have used:
<input type="button" onclick="submit();" value="Submit">
and
<input type="button" onclick="document.forms[0].onsubmit()" value="Submit">
and neither work.

I think this is some type of brower problem. The errors are javascript error and the submit never goes to the server.

Thanks for any insight you can provide.

Chris






Unable to edit documents using one ... (~Emile Fezresat... 11.Mar.03)
. . RE: Unable to edit documents using ... (~Emile Fezresat... 11.Mar.03)
. . I suspect it is your button input t... (~Dan Elhipister... 11.Mar.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS